﻿using System;
namespace CoreShop.Model
{
    /// <summary>
    /// 打印方案
    /// </summary>
    public partial class corecmsprintscheme
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public Int32 id { get; set; }


        /// <summary>
        /// 档口名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "gearName", IsNullable = true)]
        public String gearName { get; set; }

        /// <summary>
        /// 打印区域
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "region", IsNullable = true)]
        public String region { get; set; }


        /// <summary>
        /// 打印机名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printerName", IsNullable = true)]
        public String printerName { get; set; }

        /// <summary>
        /// 打印机类型（1前台打印机,2厨房打印机）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printerType", IsNullable = true)]
        public Int32 printerType { get; set; } = 1;

        /// <summary>
        /// IP地址
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printerIP", IsNullable = true)]
        public String printerIP { get; set; }

        /// <summary>
        /// 品牌（0通用；1.佳博；2芯烨；）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "brandId", IsNullable = true)]
        public Int32 brandId { get; set; } = 1;

        /// <summary>
        /// 纸张宽度(0、58CM，1、75CM,2、80CM)
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "paperType", IsNullable = true)]
        public Int32 paperType { get; set; } = 2;

        /// <summary>
        /// 打印方式（1指令；2驱动）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sendPrintWay", IsNullable = true)]
        public Int32 sendPrintWay { get; set; } = 1;

        /// <summary>
        /// 蜂鸣次数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "buzzingCount", IsNullable = true)]
        public Int32 buzzingCount { get; set; }

        /// <summary>
        /// 蜂鸣等级
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "buzzingType", IsNullable = true)]
        public Int32 buzzingType { get; set; }

        /// <summary>
        /// 走纸行数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "emptyRows", IsNullable = true)]
        public Int32 emptyRows { get; set; } = 4;

        /// <summary>
        /// 重试次数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "retryCount", IsNullable = true)]
        public Int32 retryCount { get; set; }
        /// <summary>
        /// 打印机连接方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printConnect", IsNullable = true)]
        public Int32 printConnect { get; set; } = 2;

        /// <summary>
        /// 端口号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printPort", IsNullable = true)]
        public string printPort { get; set; }

        /// <summary>
        /// 波特率
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "baudrate", IsNullable = true)]
        public Int32 baudrate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "remark", IsNullable = true)]
        public string remark { get; set; }

        /// <summary>
        /// 备用打印机
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "spareSchemeId", IsNullable = true)]
        public Int32 spareSchemeId { get; set; }

        /// <summary>
        /// 打印方案状态
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "status")]
        public Int32 status { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "address")]
        public string address { get; set; }


        /// <summary>
        /// 联系电话
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "linkPhone")]
        public string linkPhone { get; set; }
    }
}